package com.tbit.main.pojo.bo;

import com.tbit.main.pojo.TerMsg;
import lombok.Data;

/**
 * @author <a href="mailto:li.yao@tbit.com.cn">yao</a>
 * @version 4.3.0
 * @since 2024/12/17 14:57
 */
@Data
public class SendControlBO {

    private String machineNo;

    private TerMsg terMessage;

    public static SendControlBO of(String machineNo, TerMsg terMessage) {
        SendControlBO sendControlBO = new SendControlBO();
        sendControlBO.setMachineNo(machineNo);
        sendControlBO.setTerMessage(terMessage);
        return sendControlBO;
    }
}
